package neusoft.example.com.yuejian06.Service;

import neusoft.example.com.yuejian06.Bean.User;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;



public interface UserService {
    @GET("userLogin")
    Call<User> login(@Query("user_tel")String user_tel,
                        @Query("user_password")String user_password);
    @GET("userRegist")
    Call<User> register(@Query("user_name") String user_name,
                        @Query("user_tel") String user_tel,
                        @Query("user_password") String user_password,
                        @Query("user_email") String user_email);
    @GET("getMy")
    Call<User> getMy(@Query("user_id") String user_id);
}
